using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace TestOverridingMethods
{
    public abstract class CAbstractTest
    {
        protected SpriteFont spriteFont = null;
        protected Texture2D myTexture = null;

        public CAbstractTest(SpriteFont p_spriteFont, Texture2D pTexture)
        {
            spriteFont = p_spriteFont;
            myTexture = pTexture;
        }

        public abstract void makesThisClassAbstract();

        public virtual void pleaseOverride(SpriteBatch spriteBatch)
        {
            //String textmsg = "CAbstractTest: pleaseOverride()";
            //spriteBatch.DrawString(spriteFont, textmsg, new Vector2(100, 50), Color.Red, 0, new Vector2(0, 0), 1f, SpriteEffects.None, 0);
            spriteBatch.Draw(myTexture, new Rectangle(5, 5, 50, 80), Color.White);

        }

    }
}